#ifndef B2GDNS_REQUEST_H
#define B2GDNS_REQUEST_H

#include <memory>

#include "message.h"

namespace b2gdns {

	class Reply;

	class Request : public Message
	{
	public:
		Request(Header const& header,
			std::vector<std::string> const& question);

		virtual std::unique_ptr<Reply> execute() = 0;
	};

	inline Request::Request(Header const& header,
		std::vector<std::string> const& question)
		: Message(header, question)
	{
	}

} // namespace b2gdns

#endif // B2GDNS_REQUEST_H
